<%-- 
    Document   : formDeconnect
    Created on : 14 juin 2013, 19:57:48
    Author     : ali
--%>

<%  

   

%>

<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head> 
        <title>Deconnexion</title>
        
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
	<link rel="stylesheet" href="connexion.css" />
        <script>
            
         function deconnect(){
            document.getElementById("deconect").submit();
         }
            
        </script>
            

    </head>

    
    <body onload="deconnect()">
    
        
         <form id="deconect" method="POST" action="deconnectAct.do" target="_top">
		
             <%
             String ret="";
               ret +=" <input type='hidden' name='key' value='"+(String) session.getAttribute("key")+"'/>";
               out.println(ret);
               
                session.removeAttribute("key");
                session.removeAttribute("idinterv");
                session.removeAttribute("nominterv");
                session.removeAttribute("prenominterv");
                session.removeAttribute("type");
                %>
         </form>
    </body>
</html>



